package user

import (
	"ys-platform/common"
	"ys-platform/models/sysuser"
)

type sysUserService struct {
}

func (sysUserService) GetUserList() []sysuser.SysUser {
	var userList []sysuser.SysUser
	common.DB.Find(&userList)
	return userList
}

var UserService = &sysUserService{}
